package com.tenebrous.jestic.mapper.idao.framwork.meber.author;


import com.tenebrous.jestic.entity.framwork.meber.author.AuthGroup;
import com.tenebrous.jestic.entity.framwork.meber.organ.OrgUser;
import com.tenebrous.jestic.mapper.ISuperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper
public interface AuthGroupMapper extends ISuperMapper<AuthGroup> {

    List<AuthGroup> selectByCondition(@Param("categoryid") String categoryid, @Param("name") String name);

    List<OrgUser> selectUserListByGroupid(@Param("groupid") String groupid, @Param("realname") String realname);

    void deleteGroupUserByCondition(@Param("groupid") String groupid, @Param("userid") String userid);

    void deleteById(@Param("groupid") String groupid);
}